package com.csun.dsms.service.impl;

import com.csun.dsms.comment.core.support.BaseService;
import com.csun.dsms.mapper.DsmsArticleMapper;
import com.csun.dsms.model.domain.DsmsArticle;
import com.csun.dsms.service.DsmsArticleService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import tk.mybatis.mapper.entity.Example;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional
public class DsmsArticleServiceImpl extends BaseService<DsmsArticle> implements DsmsArticleService {
    @Resource
    private DsmsArticleMapper dsmsArticleMapper;
    /*
     * 公告查询
     * */
    @Override
    public List<DsmsArticle> query(DsmsArticle dsmsArticle) {
        return dsmsArticleMapper.query(dsmsArticle);
    }
}
